<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>Stammbar.de</title>
		
		<%= stylesheet_link_tag "basics" %>
		<%= stylesheet_link_tag "fonts" %>
		<%= stylesheet_link_tag "forms" %>
		<%= stylesheet_link_tag "lists" %>
		<%= stylesheet_link_tag "columns" %>
		<%= stylesheet_link_tag "specials" %>
		<%= javascript_include_tag :defaults %>
		
	</head>
	
	<body>
		
		<div id="head">
			<h1>Config hidden Website Name?</h1>
				
			<% form_tag :controller => :search, :action => :do_search do %>
				<div>
					<%= text_field_tag "keyword" %>
					<%= submit_tag "", :class => "submit" %>
				</div>
			<% end %>
			
			<%= render :partial => 'layouts/menu' %>
		
		</div>
		
		<div id="main">
			
			<% if flash[:notice] %>
				<div class="messages notice">
					<img src="/images/notice_left_top.gif" 
						 class="top left corner" />
					<img src="/images/notice_left_bottom.gif" 
						 class="bottom left corner" />
					<img src="/images/notice_right_top.gif" 
						 class="top right corner" />
					<img src="/images/notice_right_bottom.gif" 
						 class="bottom right corner" />
					
					<%= h(flash[:notice]) %>
				</div>
			<% end %>
			
			<% if flash[:success] %>
				<div class="messages success">
					<img src="/images/notice_left_top.gif" 
						 class="top left corner" />
					<img src="/images/notice_left_bottom.gif" 
						 class="bottom left corner" />
					<img src="/images/notice_right_top.gif" 
						 class="top right corner" />
					<img src="/images/notice_right_bottom.gif" 
						 class="bottom right corner" />
					
					<%= h(flash[:success]) %>
				</div>
			<% end %>
			
			<% if flash[:error] %>
				<div class="messages error">
					<img src="/images/error_left_top.gif" 
						 class="top left corner" />
					<img src="/images/error_left_bottom.gif" 
						 class="bottom left corner" />
					<img src="/images/error_right_top.gif" 
						 class="top right corner" />
					<img src="/images/error_right_bottom.gif" 
						 class="bottom right corner" />
					
					<%= h(flash[:error]) %>
				</div>
			<% end %>

			<% if !session[:user_id].blank? %>
				<%= render :partial => 'layouts/user_menu' %>
			<% else %>
				<%= render :partial => 'layouts/left_menu' %>
			<% end %>
			
			<%= yield :layout %>
		</div>
		
		<div id="footer">
			
		</div>
		
	</body>
</html>
